#pragma once
#include <osg/Camera>

class UniformCameraProjectionMatrixUpdateCallback :public osg::Uniform::Callback
{
public:
	UniformCameraProjectionMatrixUpdateCallback() = delete;
	UniformCameraProjectionMatrixUpdateCallback(osg::Camera *camera);
	virtual void operator()(osg::Uniform* uniform, osg::NodeVisitor* nv) override;
private:
	osg::Camera *mCamera;
};